package xj.toolkit.unit;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import xj.toolkit.util.JVMUtil;

public class JDKToolsLoader {
	private static final Logger LOG = LoggerFactory
			.getLogger(JDKToolsLoader.class);

	public JDKToolsLoader(boolean loadJDKToolsJar) {
		if (loadJDKToolsJar) {
			JVMUtil.loadSunJDKToolsJar();
			LOG.info("load jdk tools jar succeed.");
		}
	}
}
